﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserRole.ascx.cs" Inherits="Web.Cms.Users.UserRole" %>
<asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="False"></asp:Label>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Bạn hãy chọn nhóm người dùng!"
    ControlToValidate="lstRoles" Display="Dynamic" ValidationGroup="rolesgroup"></asp:RequiredFieldValidator>
<table border="0" cellpadding="2" cellspacing="2" style="width: 100%" class="InputBox">
    <tr>
        <td align="left" colspan="2">
            <asp:Button ID="btnBack"  runat="server" SkinID="AdminButtonBack" OnClick="btnBack_Click" /></td>
    </tr>
    <tr>
        <td colspan="2">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            Người dùng:
            <asp:Label ID="lblUser" runat="server" Font-Bold="True"></asp:Label>
            <asp:Label ID="lblUserId" runat="server" Visible="False"></asp:Label></td>
    </tr>
    <tr>
        <td align="right" valign="top" width="20%">
            Là thành viên của nhóm:
        </td>
        <td rowspan="2" width="80%">
            <asp:ListBox ID="lstRoles" runat="server" Height="271px" Width="321px" DataTextField="RoleName"
                DataValueField="RoleID" SelectionMode="multiple" ValidationGroup="rolesgroup"></asp:ListBox></td>
    </tr>
    <tr>
        <td valign="top">
        </td>
    </tr>
    <tr>
        <td></td>
        <td>
            <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click"  SkinID="AdminButtonUpdate"
                ValidationGroup="rolesgroup" />&nbsp;
        </td>
    </tr>
</table>
